#ifndef __LED_H
#define __LED_H
#include<REG51F.H>

/***************************************************
*
***************************************************/
#define sizeFloor 4
extern unsigned char dataP0[sizeFloor];
extern unsigned char dataP1[sizeFloor];

/***************************************************
*
***************************************************/

void scan_led();
void updateBuffer();
void clearLedAll();
unsigned char setbit(unsigned int x,unsigned int y,unsigned int z);
unsigned char clearbit(unsigned int x,unsigned int y,unsigned int z);
//void setcolumn(unsigned int x,unsigned int y);
//void clearcolumn(unsigned int x,unsigned int y);
void setrow(unsigned int y,unsigned int z);
//void clearrow(unsigned int y,unsigned int z);
void setfloor(unsigned int z);
//void clearfloor(unsigned int z);

void setValue_ledBonus(int value);





#endif